package com.lb.service.impel;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lb.entity.Shop;
import com.lb.entity.VO.ShopVo;
import com.lb.mapper.ShopMapper;
import com.lb.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopServiceimpl extends ServiceImpl<ShopMapper, Shop> implements ShopService {
    @Autowired
    private ShopMapper shopMapper;
    @Override
    public List<ShopVo> get(String username) {
        List<ShopVo> select = shopMapper.select(username);
       return select;
    }
}
